<?php

namespace app\common\model;

use think\Model;

class WorldCupGameOrderModel extends Model
{
    protected $connection = 'db_sports';

    protected $updateTime = 'updated_at';

    protected $createTime = 'created_at';

    protected $autoWriteTimestamp = true;

    public function user()
    {
        return $this->hasOne(UserModel::class, 'id', 'user_id');
    }
}